package com.bgds.sys.common.constant;

import io.swagger.models.auth.In;

/**
 * @author lj
 * 业务常量
 */
public class BizConstant {
    private BizConstant() {
    }

    public static final String TIME = "time";


    /**
     * 元件名称，在influx和hive里面后台都增加了这数据列
     */
    public static final String DEVICE_NAME = "device_name";
    /**
     *  每一类元件具体的实例名
     */
    public static final String MODEL_NAME = "model_name";
    /**
     * 元件编号，在influx和hive里面后台都增加了这数据列
     */
    public static final String DEVICE_CODE = "device_code";


    /**
     * 设备顶级编码
     */
    public static final String TOP_CODE = "0";

    /**
     * 图片后缀
     */
    public static final  String IMG_SUFFIX="png";

    public static final String SYS_TYPE="win";


    /**
     * dynamic_attr:judge_type 判断报警阈值的类型 0:上限 1:下限 2:范围
     */
    public static final  Integer Upper=0;
    public static final  Integer lower=1;
    public static final  Integer Range=2;


    /**
     * dynamic_attr:judge_type 判断报警阈值的类型 0:上限 1:下限 2:范围
     */
    public static final  Integer ALARM_LEVEL_ONE =1;
    public static final  Integer ALARM_LEVEL_TWO =2;
    public static final  Integer ALARM_LEVEL_TREE =3;

    public static final  Long TWO_HOUR_MILLIS =2*60*60*1000L;

    public static final String  Slab_Warehouse_Device_Code ="BPKGD-A7";


    public static final String GROUP_CODE_GAP ="gap";
    public static final String GROUP_CODE_SPOOL ="spool";


    public static final String NOT_ALARM ="notAlarm";
    public static final String ALARM ="alarm";


    public static final Integer ZERO =0;
    public static final Integer ONE =1;

    //动态属性表 设定和反馈指端
    public static final String ALARM_FILTER_SET ="set";
    public static final String ALARM_FILTER_FEEDBACK ="feedback";
    public static final String ALARM_FILTER_GAP ="gap";
    public static final String GAP ="差值";


    public static final String ALARM_INFO ="阈值报警";


    public static final String DATE_FORMAT ="yyyy/MM/dd HH:mm:ss:SSS";




}
